﻿<%@ Page Title="Home Page" Language="vb" MasterPageFile="~/Site.Master" AutoEventWireup="false"
    CodeBehind="Default.aspx.vb" Inherits="Italian_Restaurant._Default" %>

<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
</asp:Content>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
    <h2>
    The time now is <% =Date.Now.TimeOfDay()%>
    </h2>
<p>
    Men&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <asp:TextBox ID="tb_men" runat="server"></asp:TextBox>
    <asp:RangeValidator ID="RangeValidator1" runat="server" 
        ControlToValidate="tb_men" ErrorMessage="only numbers" MaximumValue="500" 
        MinimumValue="1" Type="Integer"></asp:RangeValidator>
</p>
<p>
    Women
    <asp:TextBox ID="tb_women" runat="server"></asp:TextBox>
    <asp:RangeValidator ID="RangeValidator2" runat="server" 
        ControlToValidate="tb_women" ErrorMessage="only numbers" MaximumValue="500" 
        MinimumValue="1" Type="Integer"></asp:RangeValidator>
</p>
<p>
    <asp:Button ID="btn_Sum" runat="server" Text="Sum" />
</p>
<p>
    <asp:Label ID="lbl_result" runat="server" Text="Total"></asp:Label>
</p>
<p>
    <br />
</p>
<p>
</p>
</asp:Content>
